//
//  NvEditWatemarkImageView.h
//  SDKDemo
//
//  Created by ms20180425 on 2018/9/3.
//  Copyright © 2018年 meishe. All rights reserved.
//

#import <UIKit/UIKit.h>

@class NvEditWatemarkImageView;
@protocol NvEditWatemarkImageViewDelegate <NSObject>
@optional

- (void)nvEditWatemarkImageViewWithDeleteClick;//删除事件

- (void)nvEditWatemarkImageView:(NvEditWatemarkImageView *)watemarkView updateRect:(CGRect) rect withState:(BOOL)isEnd; //拖拽框位置刷新委托函数

@end

@interface NvEditWatemarkImageView : UIImageView

@property (nonatomic, assign) CGFloat scale;                //拖拽框横纵比
@property (nonatomic, weak) id<NvEditWatemarkImageViewDelegate> delegate;

- (void)updateDragBar;                                     //刷新缩放按钮

- (void)hiddenView:(BOOL)state;            //隐藏子控件

@end
